﻿using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
namespace com.vs.DataAccess.DO
{
    public partial class LocationInventoryDO : BaseDO
    {
        #region "Local Member"
        private int _INTERNAL_LOCATION_INV;
        private string _WAREHOUSE = string.Empty;
        private string _COMPANY = string.Empty;
        private string _LOCATION = string.Empty;
        private string _ITEM = string.Empty;
        private string _PERMANENT = string.Empty;
        private string _ATTRIBUTE_NUM = string.Empty;
        private int _ON_HAND_QTY;
        private int _IN_TRANSIT_QTY;
        private int _ALLOCATED_QTY;
        private string _QUANTITY_UM = string.Empty;
        private string _INVENTORY_STS = string.Empty;
        private System.DateTime _AGING_DATE;
        private string _USER_STAMP = string.Empty;
        private System.DateTime _DATE_TIME_STAMP;
        private string _ITEM_DESC = string.Empty;
        private string _LPN = string.Empty;
        private string _PARENT_LPN = string.Empty;
        private string _ATTRIBUTE1 = string.Empty;
        private string _ATTRIBUTE2 = string.Empty;
        private string _ATTRIBUTE3 = string.Empty;
        private string _ATTRIBUTE4 = string.Empty;
        private string _ATTRIBUTE5 = string.Empty;
        private string _ATTRIBUTE6 = string.Empty;
        private string _ATTRIBUTE7 = string.Empty;
        private string _ATTRIBUTE8 = string.Empty;
        #endregion

        #region "Property"
        /// <summary>
        /// 与数据库表列INTERNAL_LOCATION_INV相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual int INTERNAL_LOCATION_INV
        {
            get { return _INTERNAL_LOCATION_INV; }
            set { _INTERNAL_LOCATION_INV = value; }
        }

        public string WAREHOUSE
        {
            get { return _WAREHOUSE; }
            set { _WAREHOUSE = value; }
        }


        /// <summary>
        /// 与数据库表列ITEM相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ITEM
        {
            get { return _ITEM; }
            set { _ITEM = value; }
        }


        /// <summary>
        /// 与数据库表列COMPANY相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string COMPANY
        {
            get { return _COMPANY; }
            set { _COMPANY = value; }
        }


        /// <summary>
        /// 与数据库表列PERMANENT相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string PERMANENT
        {
            get { return _PERMANENT; }
            set { _PERMANENT = value; }
        }


        public string PARENT_LPN
        {
            get { return _PARENT_LPN; }
            set { _PARENT_LPN = value; }
        }

        /// <summary>
        /// 与数据库表列LOT相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ATTRIBUTE_NUM
        {
            get { return _ATTRIBUTE_NUM; }
            set { _ATTRIBUTE_NUM = value; }
        }


        /// <summary>
        /// 与数据库表列ON_HAND_QTY相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual int ON_HAND_QTY
        {
            get { return _ON_HAND_QTY; }
            set { _ON_HAND_QTY = value; }
        }


        /// <summary>
        /// 与数据库表列IN_TRANSIT_QTY相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual int IN_TRANSIT_QTY
        {
            get { return _IN_TRANSIT_QTY; }
            set { _IN_TRANSIT_QTY = value; }
        }


        /// <summary>
        /// 与数据库表列ALLOCATED_QTY相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual int ALLOCATED_QTY
        {
            get { return _ALLOCATED_QTY; }
            set { _ALLOCATED_QTY = value; }
        }


        /// <summary>
        /// 与数据库表列QUANTITY_UM相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string QUANTITY_UM
        {
            get { return _QUANTITY_UM; }
            set { _QUANTITY_UM = value; }
        }


        /// <summary>
        /// 与数据库表列INVENTORY_STS相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string INVENTORY_STS
        {
            get { return _INVENTORY_STS; }
            set { _INVENTORY_STS = value; }
        }


        /// <summary>
        /// 与数据库表列AGING_DATE相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual System.DateTime AGING_DATE
        {
            get { return _AGING_DATE; }
            set { _AGING_DATE = value; }
        }



        /// <summary>
        /// 与数据库表列USER_STAMP相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string USER_STAMP
        {
            get { return _USER_STAMP; }
            set { _USER_STAMP = value; }
        }


        /// <summary>
        /// 与数据库表列DATE_TIME_STAMP相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual System.DateTime DATE_TIME_STAMP
        {
            get { return _DATE_TIME_STAMP; }
            set { _DATE_TIME_STAMP = value; }
        }


        /// <summary>
        /// 与数据库表列LOCATION相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string LOCATION
        {
            get { return _LOCATION; }
            set { _LOCATION = value; }
        }


        /// <summary>
        /// 与数据库表列ITEM_DESC相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ITEM_DESC
        {
            get { return _ITEM_DESC; }
            set { _ITEM_DESC = value; }
        }



        /// <summary>
        /// 与数据库表列LOGISTICS_UNIT相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string LPN
        {
            get { return _LPN; }
            set { _LPN = value; }
        }


        /// <summary>
        /// 与数据库表列PARENT_LOGISTICS_UNIT相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string PARENT_LOGISTICS_UNIT
        {
            get { return _PARENT_LPN; }
            set { _PARENT_LPN = value; }
        }


        /// <summary>
        /// 与数据库表列ATTRIBUTE1相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ATTRIBUTE1
        {
            get { return _ATTRIBUTE1; }
            set { _ATTRIBUTE1 = value; }
        }


        /// <summary>
        /// 与数据库表列ATTRIBUTE2相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ATTRIBUTE2
        {
            get { return _ATTRIBUTE2; }
            set { _ATTRIBUTE2 = value; }
        }


        /// <summary>
        /// 与数据库表列ATTRIBUTE3相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ATTRIBUTE3
        {
            get { return _ATTRIBUTE3; }
            set { _ATTRIBUTE3 = value; }
        }


        /// <summary>
        /// 与数据库表列ATTRIBUTE4相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ATTRIBUTE4
        {
            get { return _ATTRIBUTE4; }
            set { _ATTRIBUTE4 = value; }
        }


        /// <summary>
        /// 与数据库表列ATTRIBUTE5相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ATTRIBUTE5
        {
            get { return _ATTRIBUTE5; }
            set { _ATTRIBUTE5 = value; }
        }


        /// <summary>
        /// 与数据库表列ATTRIBUTE6相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ATTRIBUTE6
        {
            get { return _ATTRIBUTE6; }
            set { _ATTRIBUTE6 = value; }
        }


        /// <summary>
        /// 与数据库表列ATTRIBUTE7相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ATTRIBUTE7
        {
            get { return _ATTRIBUTE7; }
            set { _ATTRIBUTE7 = value; }
        }


        /// <summary>
        /// 与数据库表列ATTRIBUTE8相对应的属性
        /// </summary>
        /// <remarks></remarks>
        public virtual string ATTRIBUTE8
        {
            get { return _ATTRIBUTE8; }
            set { _ATTRIBUTE8 = value; }
        }



        public virtual string AGING_DATEString
        {
            get
            {
                if (this.AGING_DATE == DateTime.MinValue)
                    return string.Empty;
                else
                    return this.AGING_DATE.ToString();
            }
        }

        #endregion

        #region "IModel Interface"
        public override string ToString()
        {
            return null;
        }
        #endregion

    }
}
